<%@include file="../context.jsp"%>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Admin Home</title>
<%@include file="common_Admin_imports.jsp"%>
<link href="<c:url value="/resources/css/backend/style.css" />"
	rel="stylesheet" type="text/css" />
<link href="<c:url value="/resources/css/loading-page.css" />"
	rel="stylesheet" type="text/css" />

<script>
	$(document)
			.ready(
					function() {
						$('#myTab a').click(function(e) {
							e.preventDefault();
							$(this).tab('show');
						});

						$(function() {
							$('#myTab a:first').tab('show');
						});

						$('#clearCacheLink')
								.click(
										function(e) {
											if (confirm("Are you sure you want to clear the caches ? Once done, this operation cannot be undone")) {
												document.location = "/StockScreener/clear_cash";
												$("#loading").fadeIn();
											}
										});

					});
</script>
</head>
<body>
	<div class="main_wrapper">
		<div class="header_wrapper">
			<div class="header_inner_wrapper">
				<div class="header_left">Admin Dashboard</div>
				<jsp:include page="common_link.jsp" />
				<!--  TODO move this to a different file -->
				<div class="message_div">${message}</div>
				<!-- End message -->
			</div>
			<div class="container-fluid">
				<div class="row-fluid" style="margin-top: 20px;">
					<div class="left_mod span3">
						<div class="left_menu">
							<ul class="nav menu nav-pills nav-stacked nav-tabs" id="myTab">
								<li><a class="active" href="#master_data">Master Data</a></li>
								<li><a href="#price_data">Price Data</a></li>
								<li><a href="#quarter_data">Annual and Quarter Data</a></li>
								<li><a href="#sector_data">Sector Data</a></li>
								<li><a href="#other_data">Other Information</a></li>
							</ul>
						</div>
					</div>
					<div class="tab-content span8">
						<div class="tab-pane active" id="master_data">
							<ul>
								<li><a href="/StockScreener/admin/sector/list.html">Sector
										List</a></li>
								<li><a href="/StockScreener/admin/subsector/list.html">Sub
										sector List</a></li>
								<li><a href="/StockScreener/admin/company/list.html">Company
										List</a></li>
								<li><a href="/StockScreener/admin/usercategory/list.html">User
										Category List</a></li>
								<li><a href="/StockScreener/admin/user/list.html">User
										List</a></li>
							</ul>
						</div>
						<div class="tab-pane" id="price_data">
							<ul>
								<li><a href="/StockScreener/admin/dailysharedata/list.html">Daily
										price data</a></li>
								<li><a
									href="/StockScreener/admin/weeklysharedata/list.html">Weekly
										Price Data</a></li>
								<li><a
									href="/StockScreener/admin/monthlysharedata/list.html">Monthly
										price data</a></li>
								<li><a
									href="/StockScreener/admin/annualpricedata/list.html">Annual
										Price Data</a></li>
							</ul>
						</div>
						<div class="tab-pane" id="quarter_data">
							<ul>
								<li><a
									href="/StockScreener/admin/annualsharedata/list.html">Annual
										Data</a></li>
								<li><a
									href="/StockScreener/admin/quarterlysharedata/list.html">Quarter
										Data</a></li>
							</ul>
						</div>
						<div class="tab-pane" id="sector_data">
							<ul>
								<li><a
									href="/StockScreener/admin/dailysectordata/list.html">Daily
										Sector Data</a></li>
								<li><a
									href="/StockScreener/admin/weeklysectordata/list.html">Weekly
										Sector Data</a></li>
								<li><a
									href="/StockScreener/admin/monthlysectordata/list.html">Monthly
										Sector Data</a></li>
								<li><a
									href="/StockScreener/admin/annualsectordata/list.html">Annual
										Sector Data</a></li>
								<li><a href="/StockScreener/admin/monthlyaspi/list.html">ASPI
										Data</a></li>
							</ul>
						</div>

						<div class="tab-pane" id="other_data">
							<ul>
								<li><a
									href="/StockScreener/admin/companydocument/list.html">Company
										Document</a></li>
								<li><a href="/StockScreener/admin/dividend/list.html">Dividend</a></li>
								<li><a href="/StockScreener/admin/bannerupload/list.html">Banner
										Upload</a></li>
								<li><a
									href="/StockScreener/admin/payment_config/edit/1.html">IPG
										Configuration </a></li>
								<li><a href="/StockScreener/admin/package_data/list.html">Package
										Configuration</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<%@include file="components/loading.jsp"%>
</body>
</html>